* {
    padding: 0;
    margin: 0;
    list-style-type: none;
    box-sizing: border-box;
}
body {
    background: #f2f2f2;
    color: #333;
}
/* 最外层盒子 */
.box1 {
    width: 840px;
    max-width: 90vw;
    margin: 10vh auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 标题 */
.title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 24px;
}
/* 添加任务表单 */
.box2 {
    width: 100%;
    max-width: 700px;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}
.input1 {
    flex: 1;
    height: 40px;
    width: 590px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
}
.btn1 {
    width: 100px;
    height: 40px;
    background: #37b1e5;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn1:hover {
    background: #2fa1d4;
}
/* 选项 */
.ul1 {
    width: 100%;
    max-width: 700px;
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.ul1 li {
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 4px;
    background: #e6e6e6;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.ul1 li:hover {
    background: #d9d9d9;
}
.ul1 .showLi {
    background: #37b1e5;
    color: #fff;
}
/* 选项卡 */
.box3 {
    width: 100%;
    max-width: 700px;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}
.box3 div {
    margin: 10px auto;
    width: 700px;
    display: none;
}
.box3 .showDiv {
    margin: 10px auto;
    width: 700px;
    display: block;
}
.box3 form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.box3 div .hide {
    display: none;
}
.ptext {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
}
.ptext2 {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: line-through;
    color: #ccc;
}
.tag {
    display: inline-block;
    padding: 2px 8px;
    margin-left: 12px;
    font-size: 12px;
    line-height: 18px;
    border-radius: 4px;
    color: #fff;
    background: #37b1e5;
    vertical-align: middle;
}
.xg {
    width: 48px;
    height: 28px;
    margin-left: auto;
    border: 1px solid #2fa1d4;
    border-radius: 4px;
    background: #fff;
    color: #2fa1d4;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
}
.xg:hover {
    background: #2fa1d4;
    color: #fff;
}
.del {
    width: 48px;
    height: 28px;
    margin-left: 8px;
    border: 1px solid #ff4d4f;
    border-radius: 4px;
    background: #fff;
    color: #ff4d4f;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
}
.del:hover {
    background: #ff4d4f;
    color: #fff;
}
.editDiv {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}
.editDiv input[type="text"] {
    flex: 1;
    height: 32px;
    padding: 0 8px;
    font-size: 15px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    transition: border-color .2s;
}
.editDiv input[type="text"]:focus {
    outline: none;
    border-color: #37b1e5;
}
.editDiv select {
    height: 32px;
    padding: 0 6px;
    font-size: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}
.editDiv .confirm {
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    color: #fff;
    background: #37b1e5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
}
.editDiv .confirm:hover {
    background: #2fa1d4;
}
/* 内容 */
form .text {
    display: inline-block
}
/* 底部 */
.box4 {
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}